

package com.maoshi.shop.distribution.comment.dto;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.maoshi.shop.common.serializer.json.ImgJsonSerializer;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
public class DistributionUserDto {

    @ApiModelProperty(value = "分销员id")
    private Long distributionUserId;

    @ApiModelProperty(value = "分销员昵称")
    private String  nickName;

    @ApiModelProperty(value = "分销员卡号")
    private String cardNo;

    @ApiModelProperty(value = "分销员手机号")
    private String userMobile;

    @ApiModelProperty(value = "头像")
    @JsonSerialize(using = ImgJsonSerializer.class)
    private String pic;

    @ApiModelProperty(value = "分销员状态 (-1封禁 0 待审核 1 正常 2 清退 3审核失败)")
    private Integer state;

    @ApiModelProperty(value = "分销员等级")
    private Integer level;

    @ApiModelProperty(value = "分销员等级名称")
    private String levelName;

//
//    @ApiModelProperty(value = "分销员各项数据")
//    private AchievementDataDto distributionUserAchievementData;
    /*合并代码开始*/
    @ApiModelProperty(value = "分销员userid")
    private String userId;
    /*合并代码结束*/
}
